﻿<UserControl x:Class="SilverShader.Views.MosaicShaderPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:custom="clr-namespace:EasyPainter.Imaging.Silverlight"
    mc:Ignorable="d"
    d:DesignWidth="410" d:DesignHeight="125"
    Loaded="UserControl_Loaded">
    
    <Grid x:Name="LayoutRoot" Background="Black">
        <Grid >
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="25" />
                <RowDefinition Height="40"/>
            </Grid.RowDefinitions>

            <TextBlock Text="Blocks" Style="{StaticResource TextBlockStyle}" Grid.Column="0" Grid.Row="0" />
            <custom:EditableSlider x:Name="sliderBlocks" Width="120" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="0" Grid.Row="1" 
                                   Minimum="2" Maximum="200" Value="{Binding Path=BlockCount, Mode=TwoWay}" />
            
            <TextBlock Text="Circle Min" Style="{StaticResource TextBlockStyle}" Grid.Column="1" Grid.Row="0" />
            <custom:EditableSlider x:Name="sliderMin" Width="120" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="1" Grid.Row="1" 
                                   Minimum="0" Maximum="1" Value="{Binding Path=MinDistance, Mode=TwoWay}" />
            
            <TextBlock Text="Circle Max" Style="{StaticResource TextBlockStyle}" Grid.Column="2" Grid.Row="0" />
            <custom:EditableSlider x:Name="sliderMax" Width="120" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="2" Grid.Row="1" 
                                   Minimum="0" Maximum="1" Value="{Binding Path=MaxDistance, Mode=TwoWay}" />
        </Grid>
    </Grid>
    
</UserControl>
